Hi
Ive been struggling for many hours now in trying to set up custom rules for emails coming in from Oracle OEM.
A trigger email subject would look like this:
EM Event: Critical:DW21 - Tablespace [TS_IDX_PRESENTATION] is [95.005 percent] full
or
EM Event: Warning:DW21 - Tablespace [TS_IDX_PRESENTATION] is [90.010 percent] full
A clear email subject would look like this:
EM Event: Clear:DW21 - Tablespace [TS_IDX_PRESENTATION] is [65.005 percent] full
The part above in bold is the key i am using to dedupe as this what would uniquely identify a particular tablespace on a particular database. the DW21 part is variable, and the TS_IDX_PRESENTATION part is also variable.
Here are my trigger and resolve rules:
Trigger an alert if any of the following conditions apply
The email subject contains āWarningā
The email subject contains āCriticalā
Deduplicate based on the alert key found by matching the regular expression /(\w{3,8}.-.Tablespace.[\w{1,30}])/ against the email subject
Resolve an alert if any of the following conditions apply
The email subject contains āClearā
Deduplicate based on the alert key found by matching the regular expression /(\w{3,8}.-.Tablespace.[\w{1,30}])/ against the email subject
For some reason it just wont match the clear with the triggered alert. please help!! Am i doing something obvious thats wrong?